﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZX.CRM.Bussiness;
namespace ZXMOBIWEB
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                string user = Request.QueryString["SID"] == null ? Guid.NewGuid().ToString() : Request.QueryString["SID"];
                string sere = Request.QueryString["SRE"] == null ? "" : Request.QueryString["SRE"];
                GetUser gu = new GetUser();
                if (!gu.DefaultCheck(user, sere))
                    Response.Redirect("defalut.htm");
                else
                    Session["UNAME"] = user;
            }
        }

        
          
    }
}